/*
 * Utilities.h
 *
 *  Created on: 10 Aug 2011
 *      Author: Allan
 */

#ifndef UTILITIES_H_
#define UTILITIES_H_

// C++ includes
#include <string>
#include <vector>
using namespace std;

// GeoReact includes
#include "../EquilibriumSolver/EquilibriumCondition.h"
#include "../Multiphase.h"
#include "../ReactionSystem.h"

const vector<EquilibriumCondition> 
ConvertEquilibriumConditions(const vector<string>& equilibriumConditions, const Multiphase& multiphase, const ReactionSystem& equilibriumReactions);

const VectorXd 
GuessSpeciesComposition(const vector<string>& generalConditions, const Multiphase& multiphase, double T, double P);

const vector<string>
ExtractEquilibriumConditions(const vector<string>& generalConditions, const Multiphase& multiphase, const ReactionSystem& equilibriumReactions);

#endif /* UTILITIES_H_ */
